package com.arpa.ntocc.common.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 网点表DTO
 * </p>
 *
 * @author wangyujie
 * @since 2020-01-06
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value="PartyGroupDTO对象", description="网点表")
public class PartyGroupDTO extends BasicEntity {


    @ApiModelProperty(value = "组织编号")
    private String code;

    @ApiModelProperty(value = "层级：0顶级，1下级",hidden = true)
    private Integer level = 1;

    @ApiModelProperty(value = "状态：0停用，1启用")
    private Integer status;

    @ApiModelProperty(value = "用户数量")
    private Integer userQuantity;

    @ApiModelProperty(value = "用户数量下限")
    private Integer userQuantityStart;

    @ApiModelProperty(value = "用户数量上限")
    private Integer userQuantityEnd;

    @ApiModelProperty(value = "组织名称：机构/网点/入住企业")
    private String groupName;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

}
